<?php
include '../operations/connection.php';
$idmemo = $_REQUEST['idmemo'];


function getlang(){
		$lang = $_SESSION['lang'];
		if (empty($lang) || $lang == "EN") {
			$value = "../value/value_en.php";
		} else if($lang == "VN") {
			$value = "../value/value_vn.php";
		}
		else {
			$value = "../value/value_kr.php";
		}
		return $value;
	}
$value = getlang();
include($value);




$sqlpreview ="SELECT * FROM list_memo WHERE IDMemo = '$idmemo';";
$result = mysql_fetch_assoc(mysql_query($sqlpreview));
$title = $result[Title];
$content = $result[Content];
$createddate=$result[CreatedDate];
?>

<div style="margin-left: 5px;">
	<div style="height: 10px;"></div>
	<div class="navigation-button" style="background-color: #eef1f3;">
		<a href="privatememo.php"><img src="images/back-admin.png" /> </a>
		<div><?php echo $l_back?></div>
	</div>
	<br style="clear: both" /> <br />

	<table class="view-board" width="100%">
		<tr>
			<td><span class="title-board"><span id="formView:title"
					style="width: 100%"><?php echo $title?></span> </span> <span
				class="time"><?php echo $l_created_date?> : <?php echo $createddate?> </span>
			</td>
		</tr>
	</table>
	<div class="content-board">
		<span id="content"><p><?php echo $content?></p> </span>
	</div>
</div>
<?php mysql_close($connection);?>